package com.sen.java.demo.slog4j;

import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Logger;

public class Slog4JavaBasic {

	/**
	 * @param args
	 */
	static final Logger logger = Logger.getLogger(Slog4JavaBasic.class);

	public static void main(String[] args) {

		BasicConfigurator.configure();
		logger.debug("debug message");
		logger.info("info message");
		logger.warn("warn message");
		logger.error("error message");
		logger.fatal("fatal message");

	}

}
